﻿<%@ Page Title="" Language="C#" MasterPageFile="~/StuMaster.Master" AutoEventWireup="true"
    CodeBehind="StuAllPorject.aspx.cs" Inherits="LMS.SMSH.WEB.StuAllPorject" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <img src="images/shiyanxiangmu.jpg" height="35" alt="" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:GridView ID="gvAllProject" runat="server" Width="580px" AutoGenerateColumns="False"
                BorderColor="#DEBA84" BorderWidth="1px" CellPadding="3" PageSize="5" BackColor="#DEBA84"
                BorderStyle="None" CellSpacing="2" OnPageIndexChanging="gvAllProject_PageIndexChanging"
                OnRowDataBound="gvAllProject_RowDataBound" AllowPaging="True">
                <AlternatingRowStyle BackColor="NavajoWhite" />
                <RowStyle BackColor="Orange" Font-Size="Small" />
                <Columns>
                    <asp:TemplateField HeaderText="行编号">
                        <HeaderStyle HorizontalAlign="Center" Width="6%" />
                        <ItemStyle HorizontalAlign="Center" Width="6%" />
                    </asp:TemplateField>
                    <asp:BoundField HeaderText="实验名称" DataField="proName">
                        <HeaderStyle HorizontalAlign="Center" Width="15%" />
                        <ItemStyle HorizontalAlign="Center" Width="15%" />
                    </asp:BoundField>
                    <asp:BoundField DataField="proTeacherID" HeaderText="教师ID">
                        <HeaderStyle HorizontalAlign="Center" Width="10%" />
                        <ItemStyle HorizontalAlign="Center" Width="10%" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="实验时间">
                        <HeaderStyle HorizontalAlign="Center" Width="10%" />
                        <ItemStyle HorizontalAlign="Center" Width="10%" />
                        <ItemTemplate>
                            <%#Eval("proData", "{0:yyyy-MM-dd}")%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField HeaderText="实验内容" DataField="proDetail">
                        <HeaderStyle HorizontalAlign="Center" Width="15%" />
                        <ItemStyle HorizontalAlign="Center" Width="15%" />
                    </asp:BoundField>
                </Columns>
                <HeaderStyle BackColor="OrangeRed" />
                <AlternatingRowStyle BackColor="NavajoWhite" />
                <PagerSettings FirstPageText="第一页" LastPageText="最后一页" Mode="NextPreviousFirstLast"
                    NextPageText="下一页" PreviousPageText="上一页" />
                <PagerStyle BackColor="#FFC080" Font-Size="Small" Font-Strikeout="False" Font-Underline="False"
                    ForeColor="Black" HorizontalAlign="Center" VerticalAlign="Top" />
            </asp:GridView>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
